import Layout from '@/layout'

const carManageRouter = {
  path: '/car-manage',
  component: Layout,
  redirect: 'noRedirect',
  name: 'car-manage',
  meta: {
    title: '车辆管理',
    icon: 'component'
  },
  children: [
    {
      path: 'category-list',
      component: () => import('@/views/car-manage/category-list/category-list'),
      name: 'category-list',
      meta: {
        title: '车辆品类管理',
        noCache: true
      }
    },
    {
      path: 'company-list',
      component: () => import('@/views/car-manage/company-list/company-list'),
      name: 'company-list',
      meta: {
        title: '运输单位管理',
        noCache: true
      }
    },
    {
      path: 'car-list',
      component: () => import('@/views/car-manage/car-list/car-list'),
      name: 'car-list',
      meta: {
        title: '车辆基本信息管理',
        noCache: true
      }
    },
    {
      path: 'alert-list',
      component: () => import('@/views/car-manage/alert-list/alert-list'),
      name: 'alert-list',
      meta: {
        title: '全部报警数据',
        noCache: true
      }
    }
  ]
};

export default carManageRouter
